<!DOCTYPE html>
<html lang="zh-CN">
 <head> 
  <meta charset="utf-8" /> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge" /> 
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ --> 
  <meta name="description" content="" /> 
  <meta name="author" content="" /> 
  <link rel="icon" href="./img/asset-favicon.ico" /> 
  <title>社交-吐槽</title> 
  <!-- 页面 css js --> 
  <!--<script type="text/javascript" src="./plugins/sui/sui.min.js"></script>-->
  <!--<script type="text/javascript" src="./plugins/bootstrap/dist/js/bootstrap.js"></script>-->
  <link rel="stylesheet" type="text/css" href="./plugins/normalize-css/normalize.css" /> 
  <link rel="stylesheet" type="text/css" href="./plugins/yui/cssgrids-min.css" /> 
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui.min.css" /> 
  <link rel="stylesheet" type="text/css" href="./plugins/sui/sui-append.min.css" /> 
  <link rel="stylesheet" type="text/css" href="./plugins/font-awesome/css/font-awesome.min.css" /> 
  <link rel="stylesheet" type="text/css" href="./css/widget-base.css" /> 
  <link rel="stylesheet" type="text/css" href="./css/widget-head-foot.css" /> 
  <link rel="stylesheet" type="text/css" href="./plugins/bootstrap/dist/css/bootstrap.min.css" /> 
  <link rel="stylesheet" type="text/css" href="./css/page-sj-spit-detail.css" />
     <style>
   .comment_form{
    /*display: none;*/
    margin-top:10px;
    margin-bottom: 10px;
    overflow:hidden;
}
   .comment_form .comment_input{
    float:left;
    width:750px;
    height:60px;
    margin-left:10px;
    border-radius:4px;
    padding:10px;
    outline:none;
    border:1px solid #2185ed;
}
   .comment_form .comment_sub{
    float:right;
    width:65px;
    height:28px;
    border:1px solid #2185ed;
    background:#fff;
    border-radius:4px;
    margin:15px 15px 0 0;
    cursor:pointer;
}

  </style>


 </head> 
 <body>
  <div class="wrapper" id="app">
   <!--引用组件--> 
   <!--头部导航--> 
   <header> 
    <div class="sui-navbar"> 
     <div class="navbar-inner"> 
      <a href="index-logined.html" class="sui-brand"><img src="./img/asset-logo-black.png" alt="社交" /></a> 
      <ul class="sui-nav"> 
       <li class="active"><a href="./headline-logined.html">头条</a></li> 
       <li><a href="./qa-logined.html">问答</a></li> 
       <li><a href="./activity-index.html">活动</a></li> 
       <li><a href="./makeFriends-index.html">交友</a></li> 
       <li><a href="./spit-index.html">吐槽</a></li> 
       <li><a href="./recruit-index.html">招聘</a></li> 
      </ul> 
      <form class="sui-form sui-form pull-left"> 
       <input type="text" placeholder="输入关键词..." /> 
       <span class="btn-search fa fa-search"></span> 
      </form> 
      <div v-if="username" class="sui-nav pull-right info">
       <li><a href="./other-notice.html" target="_blank" class="notice">通知</a></li>
       <li class="hover"> <span class="fa fa-plus "></span>
        <ul class="hoverinfo">
         <li><i class="fa fa-share-alt" aria-hidden="true"></i> <a href="./headline-submit.html">去分享</a></li>
         <li><i class="fa fa-question-circle" aria-hidden="true"></i> <a href="./qa-submit.html" target="_blank">提问题</a></li>
         <li><i class="fa fa-comments" aria-hidden="true"></i><a href="./spit-submit.html" target="_blank">去吐槽</a></li>
         <li><i class="fa fa-heartbeat" aria-hidden="true"></i> <a href="./makeFriends-submit.html" target="_blank">发约会</a></li>
        </ul> </li>
       <li><a href="./person-homepage.html" target="_blank" class="homego"><img src="./img/widget-photo.png" alt="用户头像" /></a></li>
          <li><a @click="logout">退出</a></li>
      </div>
         <div v-else class="sui-nav pull-right info">
             <li><a
                     :href="'./person-loginsign.html?next=spit-detail.html?id='+spits.id"
                    target="_blank">注册</a></li>
             <li><a
                     :href="'./person-login.html?next=spit-detail.html?id='+spits.id" target="_self"
                    class="sui-btn btn-login">登录</a></li>
         </div>
     </div> 
    </div> 
   </header> 
   <!--引用组件--> 
   <!--两列布局--> 
   <div class="wrapper tc-detail" id="app">
    <div class="fl left-list">
     <div class="tc-detail">
      <!-- 标题区 --> 
      <div class="detail-tit">
       <div class="detail-author">
        <a href="javascript:;">{{spits.user}}</a> 发布
       </div> 
       <div class="detail-content"> 
        <p>{{spits.content}}</p>
        <!--<img src="./img/widget-tc-detail.png" alt="" /> -->
       </div> 
       <div class="detail-tool"> 
        <ul> 
         <li><span class="star"><i class="fa fa-thumbs-o-up"
                                   aria-hidden="true"></i> {{spits.like_counts}}</span></li>
         <li><a href="#" data-toggle="modal" data-target="#shareModal"><i
                 class="fa fa-share-alt" aria-hidden="true"></i>
             {{spits.share_counts}}</a></li>
         <li @click="comment_show"><a data-toggle="modal"
                                      data-target="#remarkModal"><i
                 class="fa fa-commenting" aria-hidden="true"></i>
          {{spits.comment_counts}}</a></li>

        </ul> 
       </div> 
      </div>
         <form action="" class="comment_form" v-show="comment_tab">
            <textarea placeholder="请发表您的评论" class="comment_input"
                      id="editor_comment" v-model="comment" ></textarea>
            <input type="submit" name="" value="评 论" class="comment_sub"
                   @click="comment_submit">
        </form>
      <!-- 评论区 --> 
      <div class="comment-area">
       <div class="comment-tit">
        <span>评论</span>
       </div> 
       <ul class="comment-list"> 
        <li v-for="comment in spit_comments">
         <div class="item-photo"> 
          <img src="./img/widget-widget-photo.png" alt="" /> 
         </div> 
         <div class="item-content"> 
          <p class="author"><a href="javascript:;">{{comment.user}}</a> 发布</p>
          <p class="content">{{comment.comment}}</p>
         </div> 
         <div class="item-thumb"> 
          <div>
           <i class="fa fa-thumbs-o-up" aria-hidden="true"></i>
           {{comment.like_counts}}
          </div> 
         </div> </li> 

       </ul> 
      </div> 
     </div> 
    </div> 
    <div class="fl right-tag"> 
     <div class="block-btn"> 
      <p>来个匿名吐槽，发泄一下你心中的怒火吧！</p> 
      <a v-if="username" class="sui-btn btn-block btn-share"
         href="./spit-submit.html"
          target="_blank">发吐槽</a>
         <a v-else class="sui-btn btn-block btn-share"
            href="./person-login.html?next=spit-submit.html" target="_self">发吐槽
         </a>
     </div> 
    </div> 
    <div class="clearfix"></div> 
   </div>
  </div>

  <script type="text/javascript" src="http://v2.uyan.cc/code/uyan.js"></script> 
  <script type="text/javascript" charset="utf-8" src="http://v3.jiathis.com/code/jia.js"></script>
<script src="./js/vue-2.5.16.js"></script>
     <script src="./js/axios-0.18.0.min.js"></script>

  <script src="./js/jquery-1.12.4.min.js"></script>

  <script src="./js/base.js"></script>
  <script src="./js/spit-detail.js"></script>

 </body>
</html>